package ch.elexis.persistence.couchbase

import net.spy.memcached.transcoders._
import net.spy.memcached.CachedData

/** 
 * The transcoder handels conversion of the objects into their storage forms
 */
object Transcoder extends SerializingTranscoder {
	override def encode(obj: Object)  : CachedData = {
	  val cached=super.encode(obj)
	  return cached;
	}
	
	override def decode(data : CachedData) : Object= {
	  val decoded= data
	  return super.decode(data);
	}
}